package cn.xinfei.xdecision.common.model.datax.enums;

import lombok.Getter;

@Getter
public enum ApiEnum implements ICodeEnum,INameEnum{

    ANTIFRAUD("antifraud", "反欺诈"),
    ANTIFRAUDV6("antifraudV6", "反欺诈V6版"),
    INSURANCERISK("insuranceRisk", "保险反欺诈-贷中行为评分"),
    TONGDUN_PRELOAN_SMALL_AMOUNT("preLoanSmallAmount", "同盾贷前审核小额多期"),
    TONGDUN_ECOLOGY_SCORE("ecologyScore", "同盾智信分生态分"),

    BLACKLIST("blacklist", "黑名单"),   //
    IDCARD("idcard", "身份证实名认证"),
    TELECOM3("telecom3", "手机三要素实名制认证"),
    MOBILE_DURATION("mobileDuration", "手机在网时长"),
    MOBILE_STATUS("mobileStatus", "手机在网状态"),
    LOAN_INDEX("loanIndex", "共贷指标"),
    BANKCARD3("bankcard3", "银行卡三要素认证"),
    BANKCARD4("bankcard4", "银行卡四要素认证"),
    OUT_OF_SERVICE_COUNT("outOfServiceCount", "手机号码最近三月停机次数查询"),
    AVERAGE_COST("averageCost", "手机号码近3个月消费均值接口"),
    FLIGHT_BEHAVIOUR("flightBehaviour", "航空行为"),
    FLIGHT_CONSUMPTION_CAPACITY("flightConsumptionCapacity", "航空消费能力"),
    FLIGHT_DATA("flightData", "航空数据"),
    PASSPORT_CHECK("passportCheck", "护照号校验"),
    CREDIT_DATA("creditData", "通用方法-信用数据拉取"),
    LOAN_DATA("loanData", "通用方法-贷后数据查询"),
    PUSH_LOAN_INFO("pushLoanInfo", "华道征信进件推送查询"),

    IP("ip", "IP定位"),
    REGEO("regeo", "逆地理"),
    GEO("geo","地理编码"),
    MOBILE_ZONE("mobileZone", "手机归属地"),

    OPERATOR_TASK_CREATE("operatorTaskCreate", "运营商爬虫任务创建"),
    OPERATOR_TASK_SUBMIT("operatorTaskSubmit", "运营商爬虫任务创建回调"),
    OPERATOR_MOBILE_VERIFY("operatorMobileVerify", "运营商爬虫手机验证"),
    OPERATOR_PHASE_STATUS("operatorPhaseStatus", "运营商爬虫任务状态查询"),
    OPERATOR_REPORT_QUERY("operatorReportQuery", "运营商爬虫分析报告查询"),
    OPERATOR_DATA_QUERY("operatorDataQuery", "运营商原爬虫原始数据查询"),
    IS_DATA_CACHED("isDataCached", "运营商原始数据是否落库"),
    IS_REPORT_CACHED("isReportCached", "运营商报告是否落库"),
    OPERATOR_TASK_NOTIFY("operatorTaskNotify", "运营商爬虫任务成功回调"),

    COMMERCE_GET_OPEN_ID("commerceGetOpenId", "电商爬虫任务注册"),
    COMMERCE_QUERY_OPEN_ID("commerceQueryOpenId", "openId查询"),
    COMMERCE_GET_ORGANIZATION_URL("commerceGetOrganizationUrl", "电商获取授权页面url"),
    COMMERCE_DATA_PULL("commerceDataPull", "电商爬虫原始数据拉取"),
    COMMERCE_REPORT_PULL("commerceReportPull", "电商爬虫分析报告拉取"),
    COMMERCE_DATA_QUERY("commerceDataQuery", "电商爬虫原始数据查询"),
    COMMERCE_REPORT_QUERY("commerceReportQuery", "电商爬虫分析报告查询"),

    TICKET_NUMBER_TRUTH("ticketNumberTruth", "票号验真"),

    RISK_RANK("riskRank", "风险等级"),

    MOXIE_ALIPAY_TASKINFO("moxieAlipayTaskInfo", "获取魔蝎支付宝任务信息"),
    MOXIE_ALIPAY_FETCH_RPPORT("moxieAlipayFetchReport", "从魔蝎获取生成成功的用户报告"),
    MOXIE_ALIPAY_USERREPORT("moxieAlipayUserReport", "魔蝎支付宝用户报告"),
    MOXIE_ALIPAY_RECALL("moxieAlipayRecall", "魔蝎支付宝回调数据落地"),

    MOXIE_TAOBAO_TASKINFO("moxieTaobaoTaskInfo", "获取魔蝎淘宝任务信息"),
    MOXIE_TAOBAO_CREATED("moxieTaobaoCreate", "我方淘宝任务创建"),
    MOXIE_TAOBAO_COMMMIT("moxieTaobaoCommit", "魔蝎淘宝任务创建"),
    MOXIE_TAOBAO_AUTH("moxieTaobaoAuth", "魔蝎淘宝授权登录结果"),
    MOXIE_TAOBAO_BILL("moxieTaobaoBill", "魔蝎淘宝账单通知"),
    MOXIE_TAOBAO_FETCH_ORIGDATA("moxieTaobaoFetchOrigData", "从魔蝎获取用户原始数据"),
    MOXIE_TAOBAO_ORIGDATA("moxieTaobaoOrigData", "魔蝎的用户原始数据"),
    MOXIE_TAOBAO_REPORT("moxieTaobaoReport", "魔蝎用户报告通知"),
    MOXIE_TAOBAO_FETCH_REPORT("moxieTaobaoFetchReport", "从魔蝎获取生成的用户报告"),
    MOXIE_TAOBAO_USERREPORT("moxieTaobaoUserReport", "魔蝎淘宝的用户报告"),

    MOXIE_MAGIC_WAND_REPORT("getReport", "从魔杖获取生成的用户报告"),
    MOXIE_MAGIC_WAND_REPORT_TASK("getreportByTaskId", "从魔蝎运营商获取魔杖的用户报告"),
    SHUMEI_MULTILOAN("queryMultiLoan", "数美多平台借贷查询"),
    ICEKREDIT_BLACKLIST("iceKreditBlacklist", "冰鉴慧眼综合黑名单"),
    ICEKREDIT_BJSCORE("iceKreditBjScore", "冰鉴慧眼分分数"),
    ICEKREDIT_SUGGESTION("suggestion", "冰鉴探真"),
    ICEKREDIT_SMALLAMOUNTSCORE("iceKreditSmallAmountScore", "冰鉴小额皓月分"),

    MOXIE_BANK_CREATED("moxieBankRecallCreate", "我方创建任务"),
    MOXIE_BANK_TASK_SUBMIT("moxieBankRecallTaskSubmit", "授权申请成功"),
    MOXIE_BANK_TASK("moxieBankRecallTask", "授权登录完成"),
    MOXIE_BANK_TASK_FAIL("moxieBankRecallTaskFail", "数据采集失败"),
    MOXIE_BANK_ALL_BILL("moxieBankRecallAllBill", "数据采集完成"),
    MOXIE_BANK_REPROT("moxieBankRecallReport", "报告处理完成"),
    MOXIE_BANK_ALL_CARDS_EX2("allCardsEx2", "魔蝎网银全量数据查询"),
    MOXIE_BANK_FETCH_REPORT("bankReport", "魔蝎网银报告"),
    MOXIE_BANK_GET_ALL_CARDS_DB("getAllCardsFromDb", "获取魔蝎网银全量数据缓存"),

    MOXIE_FUND_CREATED("moxieFundRecallCreate", "我方创建任务"),
    MOXIE_FUND_TASK_SUBMIT("moxieFundRecallTaskSubmit", "授权申请成功"),
    MOXIE_FUND_TASK("moxieFundRecallTask", "授权登录完成"),
    MOXIE_FUND_TASK_FAIL("moxieFundRecallTaskFail", "数据采集失败"),
    MOXIE_FUND_BILL("moxieFundRecallBill", "数据采集完成"),
    MOXIE_FUND_FETCH_ORIGINAL_DATA("moxieFundRecallFetchOrigData", "拉取公积金原始数据"),
    MOXIE_FUND_REPORT("moxieFundRecallReport", "用户报告通知"),
    MOXIE_FUND_FETCH_REPORT("moxieFundRecallFetchReport", "拉取魔蝎公积金报告"),
    MOXIE_FUND_ORIGINAL_DATA_DB("getOriginDataFromDb", "获取魔蝎公积金报告缓存"),
    GET_REPORT_DB("getReportFromDb", "获取全量数据缓存"),//获取魔蝎网银报告缓存，获取魔蝎网银全量数据缓存

    MOXIE_JINGDONG_FETCH_DATA("moxieJingdongFetchData", "获取摩羯京东用户数据"),
    MOXIE_JINGDONG_FETCH_REPORT("moxieJingdongFetchReport", "获取摩羯京东报告"),
    MOXIE_JINGDONG_TASK_SUBMIT("moxieJingdongTaskSubmit", "获取摩羯京东创建任务通知"),
    MOXIE_JINGDONG_TASK("moxieJingdongTask", "获取摩羯京东用户数据"),
    MOXIE_JINGDONG_REPORT("moxieJingdongReport", "获取魔蝎京东报告通知"),
    MOXIE_JINGDONG_BILL("moxieJingdongBill", "魔蝎京东账单通知"),
    MOXIE_JINGDONG_LOCAL_REPORT("moxieJingdongLocalReport", " 获取京东本地用户报告"),
    MOXIE_JINGDONG_LOCAL_DATA("moxieJingdongLocalData", "获取京东本地用户数据"),
    MOXIE_JINGDONG_LOCAL_TASK("moxieJingdongLocalTask", "获取京东本地任务信息"),
    MOXIE_JINGDONG_TASK_FAIL("moxieJingdongTaskFail", "京东任务失败通知"),

    MOXIE_SECURITY_CREATED("moxieSecurityRecallCreate", "我方创建任务"),
    MOXIE_SECURITY_TASK_SUBMIT("moxieSecurityRecallTaskSubmit", "授权申请成功"),
    MOXIE_SECURITY_TASK("moxieSecurityRecallTask", "授权登录完成"),
    MOXIE_SECURITY_TASK_FAIL("moxieSecurityRecallTaskFail", "数据采集失败"),
    MOXIE_SECURITY_BILL("moxieSecurityRecallBill", "数据采集完成"),
    MOXIE_SECURITY_REPROT("moxieSecurityRecallReport", "报告处理完成"),
    MOXIE_SECURITY_FETCH_REPORT("securityReport", "魔蝎网银报告"),

    MOXIE_ZMSCORE_CREATED("moxieZmscoreRecallCreate", "我方创建任务"),
    MOXIE_ZMSCORE_TASK_SUBMIT("moxieZmscoreRecallTaskSubmit", "授权申请成功"),
    MOXIE_ZMSCORE_TASK("moxieZmscoreRecallTask", "授权登录完成"),
    MOXIE_ZMSCORE_TASK_FAIL("moxieZmscoreRecallTaskFail", "数据采集失败"),
    MOXIE_ZMSCORE_BILL("moxieZmscoreRecallBill", "数据采集完成"),
    ALL_INFO("allInfo", "魔蝎全量数据查询"),//魔蝎Zmscore全量数据查询、魔蝎网银全量数据查询
    GET_ALL_INFO_DB("getAllInfoFromDb", "获取魔蝎全量数据缓存"),//获取魔蝎Zmscore全量数据缓存、获取魔蝎网银全量数据缓存

    BAIDU_SCORE_INFO("getScoreInfo", "百度磐石信用分查询"),
    BAIDU_QUERY_ORG_CNT("queryOrgCnt", "百度多头查询机构数"),

    BI_FLIGHT_DATA_NORMAL1Y("flightDataNormal1y","一年飞行数据标准版"),
    BI_FLIGHT_DATA_NORMAL3Y("flightDataNormal3y","三年飞行数据标准版"),
    BI_FLIGHT_DATA_ADVANCED1Y("flightDataAdvanced1y","一年飞行数据高级版"),
    BI_FLIGHT_DATA_ADVANCED3Y("flightDataAdvanced3y","三年飞行数据高级版"),
    BI_FLY_RECORD("flyRecord","一年飞行记录检查"),
    BI_ORDER_RECORD("orderRecord","消费贷订单记录检查"),
    DISCREDIT("discredit", "失信人信息"),

    MULTI_QUERY_SHORT_TERM("mutilQueryShortTerm","多头查询(短时)"),
    MULTI_QUERY_CURRENT("mutilQueryCurrent","多头查询(当日)"),
    LONG_TERM_LABEL_QUERY("longtermLabelQuery","长时标签查询"),
    FIRST_OVERDUE_LABEL_QUERY("firstoverdueLabelQuery","首期逾期标签查询"),

    DANGER_SOCIAL("dangerSocial","社交行为"),

    MULTIPLE_BONDS_REPORT("multiplebondsReport","探真报告"),
    INLEND_REPORT("inlendReport","探真贷中分析报告"),

    GREY_LIST("greyList", "灰名单"),

    CURRENT_FLOW("currentFlow", "手机当月流量查询"),
    STOP_MACHINE("stopMachine", "手机近三个月停机次数"),
    FEE_THREE("fee3", "手机近三个月平均话费"),
    FACTOR_THREE_HIGH("factor3High", "手机三要素核验(废弃)"),
    FACTOR_FOUR("factor4", "银行卡四要素(废弃)"),
    DEVICE_INFO("deviceInfo","设备数据"), //友盟设备数据
    CREDIT_SCORE("creditScore","信用分"),//友盟小额分；银联商务评分产品
    BANK_SCORE("bankScore","友盟银行分"),//友盟银行分；银联商务评分产品
    LARGE_SCORE("largeScore","友盟大额分"),//友盟大额分；银联商务评分产品
    CREDIT("credit","credit"),//小雨点同步信息核查,新颜-智能评估-全景雷达
    AUTH_WAY("authWay", "前置分流接口"),
    BANK_VERIFY("bankVerify", "京东四项鉴权接口"),
    RELATION_VERIFY("relationVerify","京东白条关联验证接口"),
    AUTH_APPLY("authApply","京东创建账户(授权)申请"),
    OPEN_INFO_QUERY("openInfoQuery","京东开户结果查询接口"),
    STRATEGY_CHECK("strategyCheck","百融验证(废弃)"),
    STRATEGY_RISK("strategyRiskRecognize","百融风险识别(废弃)"),
    APPLY_LOAN("applyLoan","百融-晓途借贷意向验证策略"),
    SPECIAL_LIST("specialList","特殊名单"),//百融-晓途特殊名单策略、百行征信-特别关注名单
    SPECIAL_LISTV2("specialListV2","百行征信特殊名单V2"),
    SCORECASHON("scorecashon","百融-信用风险识别-线上现金分期"),
    SCORE_AF_CASHON("scoreafcashon","百融-反欺诈风险识别-线上现金分期"),
    STRATEGY_API_QUERY("strategyApiQuery","百融策略引擎(贷前)"),
    LJ_SCORE("ljScore","51公积金龙井分"),
    BANK_CARD_INFO("bankCardInfo","银行卡信息"),
    RULE_RESULT("ruleResult","规则报告"),
    ANTIFRAUD_SCORE("antifraudScore","反欺诈评分"),//黑瞳反欺诈评分

    TONGDUN_PRE_LOAN_REPORT("tongdunPreLoanReport","同盾贷前报告"),//中原消金-同盾贷前报告
    OPERATOR_HISTORICAL_DATA("operatorHistoricalData","运营商历史数据"),//中原消金-运营商历史数据
    CREDIT_INQUIRY_REQUEST("creditInquiryRequest","征信查询受理"),//中原消金-征信查询受理
    CREDIT_INQUIRY("creditInquiry","征信结果查询"),//中原消金-征信查询
    CREDIT_SUPPLEMENT_DATA_INQUIRY("creditSupplementDataInquiry","征信补充数据结果查询"),//补充数据结果查询
    CREDIT_SUPPLEMENT_DATA_ADD_TASK("creditSupplementDataAddTask","非紧要因子数据查询任务添加"),//非紧要因子数据查询任务添加

    BLACK_HIT_QUERY("blackHitQuery","通联网贷黑名单查询"),
    FINANCIAL_QUERY("financialQuery","通联网贷信息查询"),

    NIFA_DATA_UPLOAD("dataUpload","数据报送"),
    NIFA_UPLOAD_TASK_QUERY("uploadTaskQuery","报送状态查询"),
    NIFA_CREDIT_REPORT("creditReport","信用报告查询"),
    NIFA_TRUST_BREAKING_QUERY("trustBreakingQuery","失信信息查询"),
    NIFA_QUERY_CONTRAL("queryContral","耗用查询量查询"),

    CREDIT_PROBE_STAR_SHINE("creditProbeStarShine","天创星耀Pro_小额网贷分"),
    HUARONG_CREDIT_PAYLOAD("creditPayload","华融征信数据上报"),
    HUARONG_CREDIT_INQUIRY_HISTORY("creditInquiryHistory","华融征信回溯查询"),
    HUARONG_CREDIT_NOTIFY("creditNotify", "华融征信异步回调"),

    ACCESS("access", "准入评估"),

    RISK_REPORT_COMMIT("riskReportCommit", "风险报告任务提交"),
    RISK_REPORT_RESULT("riskReportResult", "风险报告查询"),

    SCOREV7PRO("scorev7pro", "融360分期模型V7.0标准版"),
    DETAIL_BLACKLIST("detailblacklist", "融360黑名单旗舰版"),
    SCORE_FOR_ZXFQ_V2("scoreForZXFQV2", "融360占信分互金分期版v2.0"),
    SCORE_FOR_BANKPRO_V2("scoreForBankProV2", "融360占信分互金臻藏版v2.0"),

    PG_SCORE("pgScore", "京东盘古分"),
    ASSERT_LEVEL("assertLevel", "资产分档"),

    TZ_SCORE("tuzhiScore", "图智分"),
    TIANSHENG_CF_SCORE("consumeFinanceScore", "天晟消金分"),
    FK2_SCORE("fk2Score", "Fico大数据"),
    BXF_SCORE("bxfScore", "电话邦通信分"),
    CREDIT_PERFORMANCE_EVALUATION("creditPerformanceEvaluation", "授信履约评估"),
    MULTI_APPLICATION_DETECTION("multiApplicationDetection", "多头申请检测"),
    SIFA("sifa", "司法数据"),
    TUHE_SCORE("tuheScore", "图赫分"),
    CARD_HOLDER_SCORE("cardholderScore", "银联智策持卡人综合评分"),
    EVIL_LEVEL("evilLevel", "恶意等级"),
    QIZHA_SCORE("qizhaScore", "腾梭反欺诈分"),
    RISK_SCORE("riskScore", "融慧金科风险分"),
    JZ_SCORE("jzScore", "极智分"),
    TENCENT_QZ_SCORE("tencentQzScore", "恒智普惠-腾讯反欺分"),
    PHONE_RISK_SCORE("phoneRiskScore", "号码风险分"),
    PHONE_SCORE("phoneScore", "号码分"),

    JAVA_BIZ_VAR("javaBizVar","java业务变量"),
    JAVA_COMBO_VAR("javaComboVar","java组合变量"),
    PYTHON_BIZ_VAR("pythonBizVar","python业务变量"),
    PYTHON_MODEL_VAR("pythonModelVar","python模型变量"),
    PYTHON_MODEL_CACHE_VAR("pythonModelCacheVar","python模型缓存变量"),
    PYTHON_STRATEGY_VAR("pythonStrategyVar","python策略包变量"),
    ADB_LABEL_VAR("adbLabelVar","adb标签变量"),
    BUSSINESS_ENGINE_VAR("bussinessEngineLabelVar","业务引擎标签变量"),
    MARKETING_ENGINE_VAR("marketingEngineLabelVar","营销标签变量"),
    SPARROW_SYSTEM_VAR("sparrowSystemVar","麻雀系统标签变量"),

    ;

    private final String code;
    private String name;

    ApiEnum(String code, String description) {
        this.code = code;
        this.name = description;
    }
}
